package com.eedi.framework.protocol.controller.sys.vo;

import com.eedi.framework.common.enums.CommonStatusEnum;
import com.eedi.framework.protocol.enums.SysProtocolApplyTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "系统界面 - 协议配置 Response VO")
@Data
public class SysProtocolResp {

    /**
     * 协议配置ID
     */
    @Schema(description = "协议配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7778")
    private String systemProtocolId;

    /**
     * 协议名称
     */
    @Schema(description = "协议名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    private String name;

    /**
     * 协议应用场景
     */
    @Schema(description = "协议应用场景：1注册登录 2专家问诊 3便民问诊 4患者评价 见枚举详情", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private SysProtocolApplyTypeEnum protocolApplyType;

    /**
     * 协议内容
     */
    @Schema(description = "协议内容")
    private String protocolContent;
    /**
     * 协议备注说明
     */
    @Schema(description = "协议备注说明", example = "你说的对")
    private String description;

    /**
     * 显示顺序
     */
    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer sort;

    /**
     * 协议发布状态
     */
    @Schema(description = "协议发布状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private CommonStatusEnum publishStatus;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;


}
